ParentItem

fun <T> ParentItem(id: T, title: String, icon: ImageVector?, contentColor: Color, onClick: (T) -> Unit)

Represents a parent item of the menu.

Parameters

id

The ID of the parent item.

title

The title of the parent item.

icon

The icon for the parent item.

contentColor

The color of the content.

onClick

Callback for when the parent item is clicked.